[XEN] Implement rate-limited logging.
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Fri, 27 Oct 2006 17:46:20 +0000 (18:46 +0100)
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Fri, 27 Oct 2006 17:46:20 +0000 (18:46 +0100)
commit26cf03554a7583301853f473abe37699a28cb230
tree7e8d9473b092197d2d4ba87069a1ac98b0e7a76f
parent9033715d28cd38be5ca1ff9b01f4bb7f92d56f63
[XEN] Implement rate-limited logging.

Taken from Andi Kleen's rate limit in the Linux kernel.

This keeps large amounts of prints in the HV down.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
xen/arch/x86/mm.c
xen/drivers/char/console.c
xen/include/xen/lib.h